﻿using Framework.Poco;
using System.Collections.Generic;

namespace Framework.Mvc
{
    /// <summary>
    /// 经销商视频列表的视图模型
    /// </summary>
    public class AgencyVideoListViewModel : PagedListViewModel<Video>
    {
        public AgencyVideoListViewModel(IEnumerable<Video> videos, int currentPage, int pageSize, int total)
        {
            this.List = videos;
            this.CurrentPage = currentPage;
            this.PageSize = pageSize;
            this.Total = total;
        }

        public Video Instance { get; set; }
    }
}